import "@/assets/styles/reset.scss";
import React from "react";
import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import zhCN from "antd/locale/zh_CN";
import { Provider } from 'react-redux'
import store from "@/store/store";

// 添加自定义图标
import "@/icons/icons"
import App from "@/views/App";
ReactDOM.createRoot(document.getElementById("root")).render(
  // <React.StrictMode>
  <Provider store={store}>
    <BrowserRouter>
      <ConfigProvider
        locale={zhCN}

        theme={{ algorithm: theme.darkAlgorithm, token: { colorPrimary: "#1677ff" } }}
      >
        <App />
      </ConfigProvider>
    </BrowserRouter>
  </Provider>
  // </React.StrictMode>
);
